package com.ny.dao;

import com.ny.dao.impl.AdminDaoImpl;
import com.ny.entity.Order;
import com.ny.entity.Product;
import java.sql.SQLException;
import java.util.List;

public interface ProductDao {
    List<Product> selectAllProducts() throws SQLException;
    Product selectProductById(int productId) throws SQLException;
    int updateProductStock(int productId, int quantity) throws SQLException;
     AdminDaoImpl selectAllProduct();
}

// OrderDao.java
